imcontext: Ignore more keysyms
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Jun 2021 23:01:57 +0000 (19:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Jun 2021 23:01:57 +0000 (19:01 -0400)
It finally dawned on my that #3673 is just another
case of unexpected keysyms getting sent our way via
fringe XKB features.

Ignore them all!

gtk/gtkimcontextsimple.c

index b695d96a0ddfec543f2f45c9506155dd3fac97d7..2ff3fe03b914cabd35a7f70bcb26fba8185a081c 100644 (file)
@@ -91,6 +91,8 @@ static GSList *global_tables;
 
 static const guint16 gtk_compose_ignore[] = {
   0, /* Yes, XKB will send us key press events with NoSymbol :( */
+  GDK_KEY_Overlay1_Enable,
+  GDK_KEY_Overlay2_Enable,
   GDK_KEY_Shift_L,
   GDK_KEY_Shift_R,
   GDK_KEY_Control_L,